<template>
  <div>
    <router-view></router-view>
    <!-- 二级路由出口 -->
    <van-tabbar route>
      <van-tabbar-item  to="/ShouYe" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item  to="/WenDa" icon="home-o">问答</van-tabbar-item>
      <van-tabbar-item  to="/ShiPing" icon="friends-o">视频</van-tabbar-item>
      <van-tabbar-item  to="/WoDe" icon="setting-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
data() {
    return {
      active: 0
    };
  }
}
</script>

<style>

</style>